
<!DOCTYPE html>
<html lang="en">
<head>
    {%load static%}
    <meta charset="UTF-8">
    <title>楼层楼房房间展示</title>
    <link rel="stylesheet" href="static/login/css/bootstrap.css">
    <style>
        #a112{
           margin-left: 18%;
        }
        #a113{
            margin-left: 38%;
        }
    </style>
</head>
<div class = 'container' id = 'a113'>
<h1>楼层楼房房间展示</h1>
</div>
<body>
               <div class="container" id = 'a112'>
                   <form action="">
                  <table border="1px">
                     <tr>
                        <td width="120px">序号</td>
                        <td width="120px">楼层</td>
                        <td width="120px">楼房</td>
                        <td width="120px">房间</td>
                     </tr>
                      {%for x in a%}
                        <tr>
                           <td width="120px">{{forloop.counter}}</td>
                           <td width="120px">{{x.floor.tower.tower_name}}</td>
                           <td width="120px">{{x.floor.floor_num}}</td>
                           <td width="120px">{{x.room_num}}</td>
                        </tr>
                      {%endfor%}
                  </table>
                       </form>
                  </div>
</body>
</html>